export const formField = [
  [
    {
      label: "手机号",
      prop: "phone",
      type: "tel",
    },
    {
      label: "登陆密码",
      prop: "password",
      type: "password",
    },
    {
      label: "确认密码",
      prop: "confirmPassword",
      type: "password",
    },
  ],
  [
    {
      label: "姓名",
      prop: "name",
      type: "text",
    },
    {
      label: "性别",
      prop: "sex",
      type: "radio",
      options: [
        {
          label: "男",
          value: "male",
        },
        {
          label: "女",
          value: "female",
        },
      ],
    },
    {
      label: "年龄",
      prop: "age",
      type: "number",
    },
    {
      label: "身份证号",
      prop: "idCard",
      type: "text",
    },
    {
      label: "身体健康状况",
      prop: "health",
      type: "option",
      options: [
        {
          label: "能力完好",
          value: 1,
        },
        {
          label: "轻度失能",
          value: 2,
        },
        {
          label: "中度失能",
          value: 3,
        },
        {
          label: "重度失能",
          value: 4,
        },
      ],
    },
    {
      label: "所患主要疾病",
      prop: "disease",
      type: "multi-line",
      row: 2,
      maxLength: 100,
    },
    {
      label: "联系方式",
      prop: "contact",
      type: "number",
    },
    {
      label: "家庭地址",
      prop: "address",
      type: "text",
    },
  ],
  [
    {
      label: "既往病史",
      prop: "past",
      type: "multi-line",
      row: 2,
      maxLength: 100,
    },
    {
      label: "是否独居/空巢",
      prop: "special",
      type: "radio",
      options: [
        {
          label: "是",
          value: "yes",
        },
        {
          label: "否",
          value: "no",
        },
      ],
    },
    {
      label: "监护人姓名",
      prop: "g-name",
      type: "text",
    },
    {
      label: "监护人联系方式",
      prop: "g-contact",
      type: "number",
    },
    {
      label: "监护人工作单位",
      prop: "g-address",
      type: "text",
    },
    {
      label: "",
      clause: "用户注册条款",
      prop: "clause",
      type: "checkbox",
    },
  ],
];
